package com.hemi.rhet;

import org.androidpn.client.ServiceManager;

import android.app.ListActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListAdapter;
import android.widget.ListView;

import com.hemi.rhet.util.OSInfoUtil;

public class ActivitySettings extends ListActivity {
	protected void onCreate(Bundle savedInstanceState) {
    	OSInfoUtil.version4Adapter();
        super.onCreate(savedInstanceState);   
        String[] aa = new String[]{"1.回复提醒"};
        ListAdapter adapter = new ArrayAdapter<String>(this,  R.layout.setting_list_item,aa);
        setListAdapter(adapter); 
        setSelection(0);
	}
	protected void onListItemClick(ListView l, View v, int position, long id) {
		super.onListItemClick(l, v, position, id);
		if(position==0)
		{
			  ServiceManager.viewNotificationSettings(ActivitySettings.this);
		}
	}

	 
}
